import api from "../../utils/api";
const polise = {
  state: {
    politelist: "",
  },
  mutations: {
    getpolitelist(state, paylode) {
      state.politelist = paylode;
    },
  },
  actions: {
    async getpoliteAsync(context) {
      const res = await api.getpolite();
      if (res.status == 0) {
        context.commit("getpolitelist", res.result);
      }
    },
  },
};
export default polise;
